reading the JSON from a JSON file

29

import json
with open("sample_data.json", "r") as file:
    data = json.load(read_file)
    print(data)

Comments

Submit
0 Comments